]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Fix Meta.KeyBindingFlags.IS_REVERSED typo
authorChristophe Fergeau <cfergeau@redhat.com>
Thu, 29 May 2014 21:23:32 +0000 (23:23 +0200)
committerChristophe Fergeau <cfergeau@redhat.com>
Mon, 16 Jun 2014 10:57:10 +0000 (12:57 +0200)
The code currently tries to use Meta.KeyBindingFlags.REVERSED. Since
this constant is |'ed with Meta.KeyBindingFlags.REVERSES, gjs silently
ignores the unknown flag.

https://bugzilla.gnome.org/show_bug.cgi?id=731619

js/ui/status/keyboard.js

index 0df05027c997641e28a6ec1075b5e50adc2150b1..fc37ba077e804298aae4b2d40df92ad85cb0f823 100644 (file)
@@ -373,7 +373,7 @@ const InputSourceIndicator = new Lang.Class({
             Main.wm.addKeybinding('switch-input-source-backward',
                                   new Gio.Settings({ schema: "org.gnome.desktop.wm.keybindings" }),
                                   Meta.KeyBindingFlags.REVERSES |
-                                  Meta.KeyBindingFlags.REVERSED,
+                                  Meta.KeyBindingFlags.IS_REVERSED,
                                   Shell.KeyBindingMode.ALL,
                                   Lang.bind(this, this._switchInputSource));
         this._settings = new Gio.Settings({ schema: DESKTOP_INPUT_SOURCES_SCHEMA });